//
//  UseImageTableViewCell.m
//  FaceTo
//
//  Created by 程邦明 on 2017/8/11.
//  Copyright © 2017年 chengbangming. All rights reserved.
//

#import "UseImageTableViewCell.h"

@implementation UseImageTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self initUI];
    }
    return self;
}
- (void)initUI{
    _headImage = [[UIImageView alloc]init];
    _headImage.backgroundColor = [UIColor redColor];
    [self addSubview:_headImage];
    
    [_headImage mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.offset(0);
        make.top.offset(0);
        make.width.mas_equalTo(kSCREEN_WIDTH);
        make.height.mas_equalTo(400);
    }];
    
    
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
